var _timer_start = '';

jQuery.microtime = function(log)
{	
	var now = new Date().getTime() / 1000;
 
	if (!log)
    {
    	_timer_start = now;
    }
    else 
    {
    	console.log(now - _timer_start);
    	_timer_start = null;
    }
}